<template>
  <div class="userproject">
    <div class="head">
      <i class="iconfont head-icon" @click="comeBack">&#xe689;</i>
      我发起的一起捐
    </div>

    <scroller lock-x height="700px" :use-pullup='use_pullup' :pullup-config="pullup_con" @on-pullup-loading="onScrollBottom" ref="scroller" :scroll-bottom-offst="200">
      <div class="userproject-list">
        <ul>
          <li @click="goHomeDoation(lists.together_id)" v-for="lists in list">
            <img :src="lists.eventPicUrl"/>
            <div class="list-right">
              <p v-html="lists.eventName"></p>
              <div class="right-list">
                <div>
                  <p>目标 :</p>
                  <p v-if="lists.goalAmount == 0"><span></span>不限金额</p>
                  <p v-else><span>{{lists.goalAmount}}</span>元</p>
                </div>
                <div>
                  <p>已筹 :</p>
                  <p><span>{{lists.donateMoney}}</span>元</p>
                </div>
                <div>
                  <p>参与人次 :</p>
                  <p><span>{{lists.person}}</span>人</p>
                </div>
              </div>
            </div>
          </li>
        </ul>
        <load-more :tip="tipText" :show-loading="show_loading"></load-more>
      </div>
    </scroller>
  </div>
</template>

<script src="./userproject.js"></script>
